#include "scene_globals.h"

using namespace bt;

namespace Scene_GameGoose
{	// Begin Scene

	
Font* fontTest;


	void Init()
	{
		fontTest = new Font("data/fonts/AMSANSR.otf", 24);
		g_inputListener.addAction("bloop", SDLK_SPACE);
	}

	void Uninit()
	{
		delete fontTest;
	}

	void HandleEvent(SDL_Event* event)
	{
	}

	void Run()
	{
		glClear(GL_COLOR_BUFFER_BIT);
		
		/* All Drawing goes here- starting in GL_MODELVIEW mode */
		glLoadIdentity();
		
		glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
		fontTest->drawString("Press the spacebar...", 400, 300);
		
		if(g_inputListener.isPressed("bloop"))
		{
			glColor4f(0.0f, 1.0f, 0.0f, 1.0f);
			fontTest->drawString("YOUUUU WINNNN!", 400, 350);
		}
			
		SDL_GL_SwapBuffers();
	}


}	// End Scene
